package com.yuyou.fn.common.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 业务失败日志
 *
 */
@TableName(value = "bus_fail_log")
public class BusFailLog implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<BusFailLog> createExample(){
		return new Example<BusFailLog>(BusFailLog.class);
	}

	/**  */
	@TableId(value = "bus_fail_log_id")
	private Long busFailLogId;

	/**  */
	@TableField(value = "bus_type")
	private String busType;

	/**  */
	private String log;

	/** 0:未处理 1:已处理 */
	@TableField(value = "is_done")
	private Integer isDone;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getBusFailLogId() {
		return this.busFailLogId;
	}

	public void setBusFailLogId(Long busFailLogId) {
		this.busFailLogId = busFailLogId;
	}

	public String getBusType() {
		return this.busType;
	}

	public void setBusType(String busType) {
		this.busType = busType;
	}

	public String getLog() {
		return this.log;
	}

	public void setLog(String log) {
		this.log = log;
	}

	public Integer getIsDone() {
		return this.isDone;
	}

	public void setIsDone(Integer isDone) {
		this.isDone = isDone;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
